package com.gxp.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gxp.common.annotation.Excel;
import com.gxp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 zknj_service_approve
 *
 * @author zh
 * @date 2025-05-22
 */
public class ZknjServiceApprove extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long zsaId;

    /** 实验唯一标识 */
    @Excel(name = "实验唯一标识")
    private String expcode;

    /** 审核专家 */
    @Excel(name = "审核专家")
    private String approveBy;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approveTime;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long approveStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String approveComment;

    /** 审核nmr文件 */
    @Excel(name = "审核nmr文件")
    private Long approveFileId;

    private ZkNmrFile approveFile;

    public void setZsaId(Long zsaId)
    {
        this.zsaId = zsaId;
    }

    public Long getZsaId()
    {
        return zsaId;
    }
    public void setExpcode(String expcode)
    {
        this.expcode = expcode;
    }

    public String getExpcode()
    {
        return expcode;
    }
    public void setApproveBy(String approveBy)
    {
        this.approveBy = approveBy;
    }

    public String getApproveBy()
    {
        return approveBy;
    }
    public void setApproveTime(Date approveTime)
    {
        this.approveTime = approveTime;
    }

    public Date getApproveTime()
    {
        return approveTime;
    }
    public void setApproveStatus(Long approveStatus)
    {
        this.approveStatus = approveStatus;
    }

    public Long getApproveStatus()
    {
        return approveStatus;
    }
    public void setApproveComment(String approveComment)
    {
        this.approveComment = approveComment;
    }

    public String getApproveComment()
    {
        return approveComment;
    }
    public void setApproveFileId(Long approveFileId)
    {
        this.approveFileId = approveFileId;
    }

    public Long getApproveFileId()
    {
        return approveFileId;
    }

    public ZkNmrFile getApproveFile() {
        return approveFile;
    }

    public void setApproveFile(ZkNmrFile approveFile) {
        this.approveFile = approveFile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("zsaId", getZsaId())
                .append("expcode", getExpcode())
                .append("approveBy", getApproveBy())
                .append("approveTime", getApproveTime())
                .append("approveStatus", getApproveStatus())
                .append("approveComment", getApproveComment())
                .append("approveFileId", getApproveFileId())
                .append("approveFile", getApproveFile())
                .toString();
    }
}
